/**
 * 
 */
package ac.svn.accesscontrol.store;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Ankush Chaudhary
 *
 */
public class UserDetails implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String userName;
	private String userId;
	private String eMailAddress;
	private String team;
	private String aboutUser;
	private String lastUpdatedBy = "Admin";
	private Date   createOn;
	private Date   lastUpdated;
	
	
	public UserDetails() {
		super();
		this.lastUpdated 	= new Date();
		this.createOn 		= new Date();
	}

	public UserDetails(String userName, String userId) {
		super();
		this.userName = userName;
		this.userId = userId;
		this.lastUpdated 	= new Date();
		this.createOn 		= new Date();
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String geteMailAddress() {
		return eMailAddress;
	}

	public void seteMailAddress(String eMailAddress) {
		this.eMailAddress = eMailAddress;
	}

	public String getTeam() {
		return team;
	}

	public void setTeam(String team) {
		this.team = team;
	}

	public String getAboutUser() {
		return aboutUser;
	}

	public void setAboutUser(String aboutUser) {
		this.aboutUser = aboutUser;
	}

	/**
	 * @return the eMailAddress
	 */
	public String getEMailAddress() {
	    return eMailAddress;
	}

	/**
	 * @param mailAddress the eMailAddress to set
	 */
	public void setEMailAddress(String mailAddress) {
	    eMailAddress = mailAddress;
	}

	/**
	 * @return the lastUpdatedBy
	 */
	public String getLastUpdatedBy() {
	    return lastUpdatedBy;
	}

	/**
	 * @param lastUpdatedBy the lastUpdatedBy to set
	 */
	public void setLastUpdatedBy(String lastUpdatedBy) {
	    this.lastUpdatedBy = lastUpdatedBy;
	}

	/**
	 * @return the createOn
	 */
	public Date getCreateOn() {
	    return createOn;
	}

	/**
	 * @param createOn the createOn to set
	 */
	public void setCreateOn(Date createOn) {
	    this.createOn = createOn;
	}

	/**
	 * @return the lastUpdated
	 */
	public Date getLastUpdated() {
	    return lastUpdated;
	}

	/**
	 * @param lastUpdated the lastUpdated to set
	 */
	public void setLastUpdated(Date lastUpdated) {
	    this.lastUpdated = lastUpdated;
	}
}